package com.qifan.energy.bean.result;

import java.io.Serializable;
import java.util.List;

public class CouponItem implements Serializable {

    /**
     * id : 38
     * couponId : 24
     * memberId : 16
     * couponCode : 9491436632640013
     * getType : 1
     * createTime : 2020-06-16T08:08:34.000+0000
     * useStatus : 0
     * coupon : {"id":24,"type":0,"name":"618优惠券","platform":0,"amount":10,"minPoint":100,"startTime":"2020-05-31T16:00:00.000+0000","endTime":"2021-05-31T16:00:00.000+0000","useType":0}
     * productRelationList : []
     * categoryRelationList : []
     */

    private int id;
    private int couponId;
    private int memberId;
    private String couponCode;
    private int getType;
    private String createTime;
    private int useStatus;
    private CouponBean coupon;
    private List<?> productRelationList;
    private List<?> categoryRelationList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public int getGetType() {
        return getType;
    }

    public void setGetType(int getType) {
        this.getType = getType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(int useStatus) {
        this.useStatus = useStatus;
    }

    public CouponBean getCoupon() {
        return coupon;
    }

    public void setCoupon(CouponBean coupon) {
        this.coupon = coupon;
    }

    public List<?> getProductRelationList() {
        return productRelationList;
    }

    public void setProductRelationList(List<?> productRelationList) {
        this.productRelationList = productRelationList;
    }

    public List<?> getCategoryRelationList() {
        return categoryRelationList;
    }

    public void setCategoryRelationList(List<?> categoryRelationList) {
        this.categoryRelationList = categoryRelationList;
    }

    public static class CouponBean implements Serializable{
        /**
         * id : 24
         * type : 0
         * name : 618优惠券
         * platform : 0
         * amount : 10
         * minPoint : 100
         * startTime : 2020-05-31T16:00:00.000+0000
         * endTime : 2021-05-31T16:00:00.000+0000
         * useType : 0
         */

        private int id;
        private int type;
        private String name;
        private int platform;
        private double amount;
        private double minPoint;
        private String startTime;
        private String endTime;
        private int useType;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPlatform() {
            return platform;
        }

        public void setPlatform(int platform) {
            this.platform = platform;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public double getMinPoint() {
            return minPoint;
        }

        public void setMinPoint(double minPoint) {
            this.minPoint = minPoint;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getUseType() {
            return useType;
        }

        public void setUseType(int useType) {
            this.useType = useType;
        }
    }
}
